// csr-system模块SysTestController
import csrAxios from "@/request";

const modelUrl = "/csr-system/test";

/**
 * 获取美团分布式Id
 */
export const getIdTest = async () => {
  const res = await csrAxios.request({
    url: modelUrl + "/getIdTest",
    method: "get",
  });
  return res;
};

/**
 * 缓存测试
 * @param params
 */
export const redisTest = async (params: any) => {
  const res = await csrAxios.request({
    url: modelUrl + "/redisTest/" + params,
    method: "get",
  });
  return res;
};
